import { App } from 'vue'
import registerElementIcons from './register-element-icons'
import registerNiuIcons from './register-niu-icons'
import { setupGlobDirectives } from '@/directives'

export function globalRegister(app: App): void {
  // 注册全局自定义指令
  app.use(setupGlobDirectives)
  app.use(registerElementIcons)
  app.use(registerNiuIcons)
}
